@extends('layout/default')

@section('content')
<div class="container ">
    <div clas="row ">
    <form action="{{url('member/index')}}" method="post" style="margin-top: 2em">
     <input type="hidden" name="_token" value="{{ csrf_token() }}">
     <input type="hidden" name="CID" value="{{isset($entry->CID)?$entry->CID:''}}">
      <div class="form-group">
        <label for="CMobile">手机</label>
        <input type="text" class="form-control" id="CMobile" placeholder="手机"  value="{{isset($entry->CMobile)?$entry->CMobile:''}}" disabled>
      </div>
      <div class="form-group">
           <label for="CAmount">账户余额</label>
           <div class="input-group">
           <input type="text" class="form-control" id="CAmount" placeholder="余额" name="CAmount" value="{{isset($entry->CAmount)?$entry->CAmount:''}}" disabled>
          <div class="input-group-addon btn btn-primary " style="padding-left:3em;padding-right: 3em;z-index: 1;color: white" onclick="return window.location.href='{{URL::to('pay/recharge')}}'">充值</div>
           </div>

      </div>
      <div class="form-group">
        <label for="CName">姓名</label>
        <input type="text" class="form-control" id="CName" placeholder="姓名" name="CName" value="{{isset($entry->CName)?$entry->CName:''}}" required="true">

      </div>

      <div class="form-group">
          <label for="CSex">性别&nbsp;&nbsp;</label><br/>
          <input type="radio" name="CSex" id="CSex" value="0" checked>&nbsp;男
          <input type="radio" name="CSex" value="1" {{$entry->CSex==1?'checked':''}}>&nbsp;女
       </div>

        <div class="form-group">
         <input type="submit" class="btn btn-primary col-xs-12" style="height: 3em;margin-top: 3em" value="修改">
        </div>

    </form>
    </div>

</div>
@endsection
